<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<script>
        document.onclick = function  (ev) {
			var ev = ev || event;
			alert('X轴：' + ev.clientX + 'Y轴：' + ev.clientY)
        }
    </script>
</body>
</html>